package com.qqtech.qquan.user.service;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.user.dao.UserPrivacyDao;
import com.qqtech.qquan.user.model.*;

@Service
public class UserPrivacyServiceImpl extends BaseServiceImpl<UserPrivacy>
		implements UserPrivacyService {
	public static final Logger log = LoggerFactory.getLogger(UserPrivacyServiceImpl.class);
	
	@Resource
	private UserPrivacyDao userPrivacyDao;

	@Override
	protected BaseDao<UserPrivacy> getBaseDao() {
		return userPrivacyDao;
	}

	@Override
	public List<Integer> queryUserIds(UserPrivacyQuery query) {
		return userPrivacyDao.queryUserIds(query);
	}
	
}